from opc_client import OpcClient


if __name__ == '__main__':
    """火力发电"""
    sub_ids = (
        'ns=1;s=t|XMZ火电_锅炉系统启停',
        'ns=1;s=t|XMZ火电_气泡给水泵启停',
        'ns=1;s=t|XMZ火电_气泡汽轮机温度',
        'ns=1;s=t|XMZ火电_气泡汽轮机压力',
        'ns=1;s=t|XMZ火电_锅炉气泡压力',
        'ns=1;s=t|XMZ火电_锅炉气泡温度',
    )
    ip = '192.168.2.105'
    port = 4862
    OpcClient(ip, port, sub_ids)
